package com.banyuan.HomeWork.多线程;

public class Customer {
    private String name;
    private int i;
    private int time;

    public void get(Shop s) {
        s.setHotNum(s.getHotNum() - i);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getI() {
        return i;
    }

    public void setI(int i) {
        this.i = i;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }
}
